package com.gds.wiki.cloud.memberCenter.server.modular.member.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gds.wiki.cloud.memberCenter.client.member.model.MemberInfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;


public interface MemberInfoMapper extends BaseMapper<MemberInfo> {

    @Select("select * from member join member_info on member.id=member_info.member_id where member.id=#{uid}")
    List<Map> memberWithInfo(@Param("uid") Long uid);

}
